<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="../Main/top.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript" src="Students.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	queryDepartmentList(0);
	createDepartmentChange(0);
	createMajorChange(0);
});
</script>
<div class="function_title"><span class="t2"><img src="../images/dqwz.gif">当前位置：添加学生</span></div>
<div class="function_content">
<div class="addItem"><img src="../images/return_icon.png"><a href="listStudents.action?intercept=1">返回列表</a></div>

<span class="important_info">注：带*项为必填信息!</span>
<form action="insertStudents.action" method="post" id="demo" >
 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="loginTable">
    <tr>
      <td width="14%" align="right" class="leftBg"><span class="important_info">*</span>学号：</td>
      <td width="86%"><input type="text" name="students.stuNum" id="stuNum" onblur="checkStuNumIsNotUsed();"><span id="ajaxShowResult" class="ajaxShowResult"></span></td>
    </tr>
    <tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>姓名：</td>
      <td><input type="text" name="students.stuName" id="students.stuName"></td>
    </tr>
	<tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>所属系所：</td>
      <td>
<select name="students.departmentId" id="departmentId">
	<option value="">--未选择--</option>
</select>
</td>
    </tr>
	<tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>所属专业：</td>
      <td>
<select name="students.majorId" id="majorId">
	<option value="">--未选择--</option>
</select>
</td>
    </tr>	<tr>
      <td align="right" class="leftBg"><span class="important_info">*</span>所属班级：</td>
      <td>
<select name="students.classId" id="classId">
	<option value="">--未选择--</option>
</select>
</td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td>
        <input type="submit" name="submit" id="submit" value="提交" class="deal_button">
        <input type="reset" name="reset" id="reset" value="重置" class="deal_button">
      </td>
    </tr>
  </table>
</form>

</div>

<%@ include file="../Main/bottom.jsp"%>

